#include "equiptest.h"
#include <stdio.h>

void showEquipInfo(Equipment& e)
{
	char* ws[] = {"head","body","arm","leg","finger","weapon","none"};
	printf("equip name:%s\tpart:%s\nhp:%d, mp:%d, a:%d, m:%d, ad:%d, md:%d \n",
		e.name,ws[e.where],e.health.m_hp,e.health.m_mp,
		e.fight.m_attack,e.fight.m_magic,e.defence.m_attackDefence,e.defence.m_magicDefence);
}